package Day37;

import java.util.Scanner;

/**
 * Creat with IntelliJ IDEA
 * Description
 * User: mamba24
 * Date: 2022-11-07
 * Time: 11:30
 * To BE A Better Person-2020-3-2
 */
public class TestDemo2 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        while(sc.hasNext()){
            int num=sc.nextInt();
            String s1=sc.next();
            String s2=sc.next();
            String s3=sc.next();
            if(s3.contains(s2)){
                if(s2.contains(s1)){
                    System.out.println("mkdir -p "+s3);
                }else{
                    System.out.println("mkdir -p "+s1);
                    System.out.println("mkdir -p "+s3);
                }
            }else if(s2.contains(s1)){
                System.out.println("mkdir -p "+s2);
                System.out.println("mkdir -p "+s3);
            }else if (s3.contains(s1)){
                System.out.println("mkdir -p "+s2);
                System.out.println("mkdir -p "+s3);
            }else{
                System.out.println("mkdir -p "+s1);
                System.out.println("mkdir -p "+s2);
                System.out.println("mkdir -p "+s3);
            }

        }
    }
}
